<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@include file="../jsp/common/head.jsp"%>

<div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>合同管理页面 >> 合同添加页面</span>
        </div>
        <div class="providerAdd">
          <form id="billForm" name="billForm" method="post" action="${pageContext.request.contextPath }/billmodify.html">
				<input type="hidden" name="method" value="modifysave">
				<input type="hidden" name="id" value="${bill.id }">
                <!--div的class 为error是验证错误，ok是验证成功-->
                <div class="">
                    <label for="contractCode">合同号：</label>
                    <input type="text" name="contractCode" id="contractCode" value="${bill.contractCode }" readonly="readonly">
                </div>
                <div>
                    <label for="flowCode">流水号：</label>
                    <input type="text" name="flowCode" id="flowCode" value="${bill.flowCode }"> 
					<font color="red"></font>
                </div>
                <div>
                    <label for="enterpriseName">企业名称：</label>
                    <input type="text" name="enterpriseName" id="enterpriseName" value="${bill.enterpriseName }"> 
					<font color="red"></font>
                </div>
                <div>
                    <label for="agent">经办人：</label>
                    <input type="text" name="agent" id="agent" value="${bill.agent }"> 
					<font color="red"></font>
                </div>
                <div>
                    <label for="phone">手机号码：</label>
                    <input type="text" name="phone" id="phone" value="${bill.phone }"> 
					<font color="red"></font>
                </div>
                <div>
                    <label for="businessCode">业务号码：</label>
                    <input type="text" name="businessCode" id="businessCode" value="${bill.businessCode }">
					<font color="red"></font>
                </div>
                <div>
                    <label for="inDate">入网时间：</label>
                    <input type="text" name="inDate" id="inDate" value="${bill.inDate }">
                    <font color="red"></font>
                </div>
                <div>
                    <label for="price">月租金额：</label>
                    <input type="text" name="price" id="price" value="${bill.price }">
					<font color="red"></font>
                </div>
                <div>
                    <label for="contractTerm">合同期限：</label>
                    <input type="text" name="contractTerm" id="contractTerm" value="${bill.contractTerm }">
					<font color="red"></font>
                </div>
                <div>
                    <label for="endDate">到期日期：</label>
                    <input type="text" name="endDate" id="endDate" value="${bill.endDate }">
					<font color="red"></font>
                </div>
                <div>
                    <label for="payment">付费方式：</label>
                    <input type="text" name="payment" id="payment" value="${bill.payment }">
					<font color="red"></font>
                </div>
                <div>
                    <label for="businessType">业务类型：</label>
                    <input type="text" name="businessType" id="businessType" value="${bill.businessType }">
					<font color="red"></font>
                </div>
                <div>
                    <label for="bandwidth">带宽：</label>
                    <input type="text" name="bandwidth" id="bandwidth" value="${bill.bandwidth }">
					<font color="red"></font>
                </div>
              <div>
                  <label for="state">状态：</label>
                  <input type="hidden" value="${bill.state }" id="_state" />
                  <select name="state" id="state">
                      <option value="" <c:if test="${bill.state == ''}">selected</c:if>>空</option>
                      <option value="关闭" <c:if test="${bill.state == '关闭'}">selected</c:if>>关闭</option>
                      <option value="开通" <c:if test="${bill.state == '开通'}">selected</c:if>>开通</option>
                      <option value="停机" <c:if test="${bill.state == '停机'}">selected</c:if>>停机</option>
                  </select>
                  <font color="red"></font>
              </div>
                <div class="providerAddBtn">
                  <input type="submit" name="save" id="save" value="保存">
				  <input type="button" id="back" name="back" value="返回" >
              	</div>
            </form>
        </div>

    </div>
</section>

<%@include file="../jsp/common/foot.jsp" %>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/billmodify.js"></script>